package com.jk.dao;

import com.jk.entity.TreeEntity;
import com.jk.entity.UserEntity;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TreeDao {

    @Select( "select * from t_tree where pid=#{pid}")
    List<TreeEntity> getTree(Integer pid);
    @Select("select * from t_user where username=#{num} and userpwd=#{pwd}")
    UserEntity login(String num, String pwd);



}
